package com.crm.model.vo.messageManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MsgVO {

    private String messageId;

    private String senderId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date sendTm;

    private String senderName;

    private String sendCompanyId;

    private String themeId;

    private String theme;

    private Integer sendNewsReadType;

    private Integer newsType;

    private Integer markImportant;

    private String receiverId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date receiverTm;

    private String receiverCompanyId;

    private Integer receiverNewsReadType;

    private String createPeopleId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTm;

    private String updatePeopleId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTm;

    private Integer deleteStatus;

    private String pMessageId;

    private String newsDetail;

    private String accessUrl;

    private Integer sendDeleteStatus;

    private Integer receiverDeleteStatus;

}